/**
 * amis v6.13.0
 * build time: 2025-08-12
 * Copyright 2018-2025 baidu
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _MultilineText = require('amis-ui/lib/components/MultilineText');
var tslib = require('tslib');
var React = require('react');
var amisCore = require('amis-core');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var _MultilineText__default = /*#__PURE__*/_interopDefaultLegacy(_MultilineText);
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

var __react_jsx__ = require('react');
var _J$X_ = (__react_jsx__["default"] || __react_jsx__).createElement;
var _J$F_ = (__react_jsx__["default"] || __react_jsx__).Fragment;


;var MultilineTextField = /** @class */function (_super) {
  tslib.__extends(MultilineTextField, _super);
  function MultilineTextField() {
    return _super !== null && _super.apply(this, arguments) || this;
  }
  MultilineTextField.prototype.render = function () {
    var text = amisCore.getPropValue(this.props, function (props) {
      return props.text ? amisCore.filter(props.text, props.data, '| raw') : undefined;
    });
    return _J$X_(_MultilineText__default["default"], tslib.__assign({}, this.props, {
      text: text
    }));
  };
  return MultilineTextField;
}(React__default["default"].Component);
var MultilineTextFieldRenderer = /** @class */function (_super) {
  tslib.__extends(MultilineTextFieldRenderer, _super);
  function MultilineTextFieldRenderer() {
    return _super !== null && _super.apply(this, arguments) || this;
  }
  MultilineTextFieldRenderer = tslib.__decorate([amisCore.Renderer({
    type: 'multiline-text'
  })], MultilineTextFieldRenderer);
  return MultilineTextFieldRenderer;
}(MultilineTextField);

exports.MultilineTextField = MultilineTextField;
exports.MultilineTextFieldRenderer = MultilineTextFieldRenderer;
